﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DesignerCategory("code")]
    public class FocusOptions20
    {
        private AutoFocusMode[] autoFocusModesField;
        private FloatRange defaultSpeedField;
        private FocusOptions20Extension extensionField;
        private FloatRange farLimitField;
        private FloatRange nearLimitField;

        [XmlElement("AutoFocusModes", Order=0)]
        public AutoFocusMode[] AutoFocusModes
        {
            get
            {
                return this.autoFocusModesField;
            }
            set
            {
                this.autoFocusModesField = value;
            }
        }

        [XmlElement(Order=1)]
        public FloatRange DefaultSpeed
        {
            get
            {
                return this.defaultSpeedField;
            }
            set
            {
                this.defaultSpeedField = value;
            }
        }

        [XmlElement(Order=4)]
        public FocusOptions20Extension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=3)]
        public FloatRange FarLimit
        {
            get
            {
                return this.farLimitField;
            }
            set
            {
                this.farLimitField = value;
            }
        }

        [XmlElement(Order=2)]
        public FloatRange NearLimit
        {
            get
            {
                return this.nearLimitField;
            }
            set
            {
                this.nearLimitField = value;
            }
        }
    }
}

